import { createRouter, createWebHistory } from 'vue-router'
import Deal from "@/views/Deal";
import Layout from "@/layout/Layout";

const routes = [
  {
    path: '/',
    name: 'Layout',
    component: Layout,
    children: [
      {
        path: '/deal',
        name: 'Deal',
        component: Deal,
      },
    ]
  },
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
